CONVERT by L. HAINES 1985
-------------------------
File: BASIC

CONVERT is a program for the MC10 to re-tokenize tapes produced on a colour computer (COCO) with STANDARD BASIC ROM, so they will RUN on the MC10.

CONVERT will also warn the user when it encounters an "EXTENDED BASIC" word. CONVERT will not corrupt any RAM POKEs, nor will it make changes necessitated by the statement "ELSE".

To manually change POKEs into the SCREEN AREA simply add 15360 to the COCO value. (COCO screen = 1024-1535 & MC10 = 16384-16895). ELSE statements will appear as :IF following another IF on the same line. These must be written over to perform the proper task.
EXAMPLE:
10 IF A=3 THEN 30 ELSE 40
could be re-written as such:
10 IF A=3 THEN 30
11 IF A<>3 THEN 40

CONVERT will properly retokenize any word within its vocabulary. EXTENDED BASIC words will be deleted ... replaced by a blank... as they are encountered to keep the rest of the program from "CRASHING" when RUN. A warning appears for each EXTENDED word.

CONVERT takes about one minute per 2000 bytes of program. The CONVERT program is deleted with only one entry, and the converted program can be saved to cassette. Do not change any portion of CONVERT or it may crash.

TO USE "CONVERT"
Type EXEC 63306
CLOAD "CONVERT"
Then RUN

The program will display title information and stop itself.
Now type EXEC 17177
This will hide the resident program and you can now CLOAD the COCO tape into the MC10.
Type EXEC 17185
Then RUN
When the program concludes with a tone and the appropriate message then delete line #1 as follows.
Type 1 <ENTER>

Scan through the LISTing for any "ELSE" conversions and correct as necessary. Correct any POKE addresses. If POKEs are directed to addresses other than the VIDEO SCREEN AREA you may need a detailed MEMORY MAP data for both computers to make the program RUN properly.
CSAVE the converted program for future use. This version doesn't need to be converted again. It is now for use only on the MC10.
  
